package sctu.edu.java.year2016.team06.chenqiang.day20160530.chapter9_3;

/**
 * Created by XQ on 2016/5/31.
 */
public class Rectangle1 implements Calculate {
    @Override
    public void calculate() {
        int c;
        int a = 2, b = 3;
        c = 2 * a + 2 * b;
        System.out.println("The circumference of a rectangle is:" + c);
    }
}
